<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>中国福利彩票</title>
<link href="css/style.css" type="text/css" rel="stylesheet" />
	<link rel="icon" href="images/favicon.png" type="image/x-icon"/>
<script src="js/jquery-1.7.2.min.js"></script>

</head>

<body>
	<div class="Header">
    	<div class="width1200">
        	<div class="left H_logo"><a href="MemberCenter.html"><img src="images/logo.png" width="200" /></a></div>
            <div class="right H_right">欢迎  <a href="MemberCenter.html"><span id="userName"></span></a> <a href="Login.html">注销！</a></div>
            <div class="clear"></div>
        </div>
    </div>
	
    <div class="width1200">
    	<div class="I_main">
            <div class="left IM_left">
            	<div class="IM_T1">查询服务</div>
                <div class="IML_two">
                	<ul>
						<li class="fist"><a href="Xzhtz.html" style="border:none;"><img src="images/Limg1.png" width="16" />交易记录查询</a></li>
						<li><a href="Xzjls.html"><img src="images/Limg1.png" width="16" />资金交易查询</a></li>
                    </ul>
                </div>
                <div class="IM_T2">个人设置</div>
                <div class="IML_two">
                	<ul>
                    	<li><a href="BankCard.html"><img src="images/Limg2.png" width="16" />银行卡变更</a></li>
                        <li><a href="PhoneNumber.html"><img src="images/Limg3.png" width="16" />手机号变更</a></li>
                        <li><a href="Yuecx.html"><img src="images/Limg4.png" width="16" />余额查询</a></li>
                        <li><a href="PassWord.html"><img src="images/Limg5.png" width="16" />修改密码</a></li>
                        <li><a href="App.html"><img src="images/Limg6.png" width="16" />APP下载</a></li>
                    </ul>
                </div>
            </div>
            <div class="right IM_right">
            	
                <div class="IMR_title">
                	<img src="images/RTb.jpg" width="5" />交易记录查询
                </div>
                
                <div class="IM_Rbig">
                	<div class="IM_hyzx">
                    	<ul>
							<li><span class="color9">投注时间：</span><span id="dateTime"></span></li>
							<li><span class="color9">投注游戏：</span><span class="color9" id="game"></span></li>
							<li><span class="color9">期号：</span><span id="dateNum"></span></li>
                            <li><span class="color9">投注金额(元)：</span><span class="e50014 f16 bold" id="payMoney"></span></li>
                            <li>
                            	<span class="color9 left">投注内容：</span>
                            	<span class="e50014 f16 bold" id="em"></span>
<!--                             	<span class="f16 bold Cfff numb left"> -->
<!--                                 	<em id="em1"></em> -->
<!--                                     <em id="em2"></em> -->
<!--                                     <em id="em3"></em> -->
<!--                                     <em id="em4"></em> -->
<!--                                     <em id="em5"></em> -->
<!--                                     <em id="em6"></em> -->
<!--                                     <em class="ls" id="em7"></em> -->
<!--                                     <div class="clear"></div> -->
<!--                                 </span> -->
                                <div class="clear"></div>
                            </li>
                            <li><span class="color9">倍数：</span><span id="bs"></span>倍</li>
                            <li><span class="color9">中奖情况：</span><span class="e50014" id="zjnr"></span></li>
                        </ul>
                    </div>
                </div>
                
            </div>
            <div class="clear"></div>
    	</div>
    </div>
    
    <div class="Footer">
    	<div class="width1200">
        	<div class="left">版权所有：中国福利彩票发行管理中心    网站主办：中国福利彩票发行管理中心</div>
            <div class="right"><img src="images/Flogo.png" width="110" /></div>
            <div class="clear"></div>
        </div>
    </div>
</body>
<script src="js/common.js"></script>
<script type="text/javascript">
	var accountId="";
	var orderNo="";
	var periodNum="";
jQuery(document).ready(function($){
	$('#userName').html(getCookie("username"));
	accountId = GetQueryString("accountId");
	orderNo = GetQueryString("orderNo");
 	periodNum = GetQueryString("periodNum");
 	var para = {
	 	  	accountId:accountId,
	 	  	orderNo:orderNo
	};
	 	$.ajax({
	 		url : "/api/CrmSystem/ticketSearch",
	 		async:false,
	 		type : "POST",
	 		herder:{
	 			'Accept':'application/json',
	 			'Content-Type':'application/json'
	 		},
	 		dataType:"json",
	 		contentType:"application/json",
	 		data: JSON.stringify(para),
	 		error:function(XMLHttpRequest, textStatus, errorThrown){
	 			alert(errorThrown);
	 		},
	 		success: function(data, textStatus){
	 			if(data.success == true){
// 	 				var data="{\"decription\":\"success\",\"retCode\":0,\"retObj\":[{\"orderNo\":\"12345678\",\"acceptTime\":\"1482136230972\",\"gameCode\":\"10\",\"wagerAmount\":\"1000\",\"awardAmount\":\"2000\",\"infaceAwardAmount\":\"3000\",\"wagerStatus\":\"0\",\"prizeType\":\"1\",\"cashed\":\"1\",\"prizeInfo\":\"中间爱那个信息\",\"content\":\"投注uhhuhuh\",\"multiple\":\"5\"}],\"success\":true}";
// 	 				 data = eval("("+data+")"); 
	 				$('#dateNum').html(periodNum);//期号
	 				$('#game').html(data.retObj.gameCode);//游戏
	 				$('#dateTime').html(getLocalTime(data.retObj.acceptTime,'yyyy-MM-dd HH:mm:ss'));//投注时间
	 				$('#payMoney').html((data.retObj.wagerAmount)/100);//投注金额
	 				$('#bs').html(data.retObj.multiple);//倍数
	 				$('#zjnr').html(data.retObj.prizeInfo);//中奖内容
	 				//投注内容--开始
	 				$('#em').html(data.retObj.content);
	 				//投注内容--结束
	 			}else{
	 				window.location.assign(encodeURI('XzhtzDown.html?description='+data.description+''));
	 				return;
	 			}
	 		}		
	 	});
});
</script>
<script src="js/jsCallCookies.js"></script>
</html>
